<?php 
/*
 * template name: tags
*/
get_header();
?>

<section class="main-top">
	<div class="center-box">
    	<?php while (have_posts()) : the_post(); ?>
		<div class="top-title">
		    <h1><?php the_title(); ?></h1>
		    <?php the_content(); ?>
		</div>
        <?php endwhile; ?>
        <div class="cat-info">
            <?php dtheme_views(); ?>&nbsp;人阅读
            <p>共&nbsp;<?php echo $count_tags = wp_count_terms('post_tag'); ?>&nbsp;个标签</p>
        </div>
    </div>
</section>
<div class="main">

    <?php while ( have_posts() ) : the_post(); ?>
        <ul>
        <?php tagslist() ?>
        
        </ul>

    <?php endwhile; // end of the loop. ?>

</div><!-- .main -->

<?php get_footer(); ?>